package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Recommend;
import cn.wolfcode.luowowo.query.RecommendQueryObject;
import cn.wolfcode.luowowo.query.StrategyThemeCopyQueryObject;


import java.util.List;

public interface RecommendMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Recommend record);

    Recommend selectByPrimaryKey(Long id);

    List<Recommend> selectAllRecommendsByMonth(RecommendQueryObject qo);

    int updateByPrimaryKey(Recommend record);

    List<Recommend> selectForList(RecommendQueryObject qo);

    List<Recommend> selectAllByThemeId(StrategyThemeCopyQueryObject qo);

}